<include file="Common:layout" />
<body style="background-color: rgb(255, 255, 255); overflow: auto; cursor: default; -moz-user-select: inherit;">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
    <div class="fixed-bar">
        <div class="item-title">
        <a class="back" href="javascript:history.back();" title="返回列表"><i class="fa fa-arrow-circle-o-left"></i></a>
            <div class="subject">
                <h3>商品下架</h3>
                <h5>商品下架的信息</h5>
            </div>
        </div>
    </div>

    <!--表单数据-->
    <form method="post" id="addGoodsForm" action="{:U('Good/end_shelves')}">
        <input type="hidden" name="good_id" value="{$good['id']}">
        <!--通用信息-->
        <div class="ncap-form-default tab_div_1">

            <dl class="row">
                <dt class="tit">
                    <label for="record_no">商品名称</label>
                </dt>
                <dd class="opt">
                    <a href="{:U('Good/edit', array('id'=>$good['id']))}">{$good['g_name']}</a>
                </dd>
            </dl>
            <notempty name="good['reject_msg']">
                <dl class="row">
                    <dt class="tit">
                        <label for="store_name">下架理由</label>
                    </dt>
                    <dd class="opt">
                        {$good['reject_msg']}
                    </dd>
                </dl>
            </notempty>

            <dl class="row">
                <dt class="tit">
                    <label for="store_name">申诉理由</label>
                </dt>
                <dd class="opt">
                    <textarea rows="3" cols="80" name="reject_msg" class="input-txt" id="brief" readonly>{$good['appeal_msg']}</textarea>
                    <span id="err_brief" class="err" style="color:#F00; display:none;"></span>
                </dd>
            </dl>
        </div>


        <div class="ncap-form-default">
            <div class="bot">
                <a href="JavaScript:void(0);" class="ncap-btn-big ncap-btn-green" id="submit_btn">通过审核</a>
            </div>
        </div>
    </form>
    <!--表单数据-->
</div>
<div id="goTop"> <a href="JavaScript:void(0);" id="btntop"><i class="fa fa-angle-up"></i></a><a href="JavaScript:void(0);" id="btnbottom"><i class="fa fa-angle-down"></i></a></div>
<script type="text/javascript">
    $(function() {
        $('#submit_btn').click(function() {
            $('#addGoodsForm').submit();
        });
    });
</script>
</body>
</html>